<html> 
<head> 
  <title>DWR Test</title> 
  <!-- These paths use .. so that they still work behind a path mapping proxy. The fully qualified version is more cut and paste friendly. --> 
  <script type='text/javascript' src='/bank/dwr/interface/welcome.js'></script> 
  <script type='text/javascript' src='/bank/dwr/engine.js'></script> 
  <script type='text/javascript' src='/bank/dwr/util.js'></script> 
  <script type='text/javascript'> 
    var reply0 = function(data)
    {
      // if (data != null && typeof data == 'object') alert(dwr.util.toDescriptiveString(data, 2));
      // else dwr.util.setValue('d0', dwr.util.toDescriptiveString(data, 1));
        dwr.util.setValue('d0',data);
    }
  </script> 
  <style> 
    input.itext { font-size: smaller; background: #E4E4E4; border: 0; }
    input.ibutton { font-size: xx-small; border: 1px outset; margin: 0px; padding: 0px; }
    span.reply { background: #ffffdd; white-space: pre; }
    span.warning { font-size: smaller; color: red; }
  </style> 
</head> 
<body onload='dwr.util.useLoadingMessage()'> 
 
  sayHello(    <input class='itext' type='text' size='10' value='""' id='p00' title='Will be converted to: java.lang.String'/>  );
  <input class='ibutton' type='button' onclick='welcome.sayHello($("p00").value, reply0);' value='Execute'  title='Calls welcome.sayHello(). View source for details.'/> 
   
  <span id='d0' class='reply'></span> 

</body></html> 